package cn.lh.pet.service;

import cn.lh.basic.util.Page;
import cn.lh.pet.domain.SearchMasterMsg;
import cn.lh.basic.service.IBaseService;
import cn.lh.pet.dto.AcceptDto;
import cn.lh.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lh
 * @since 2022-08-09
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg, HttpServletRequest req);

    Page<SearchMasterMsg> userSearchMasterMsg(SearchMasterMsgQuery query, HttpServletRequest req);

    Page<SearchMasterMsg> toHandle(SearchMasterMsgQuery query, HttpServletRequest req);

    void reject(long id);

    void accept(AcceptDto acceptDto);
}
